home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-13 / thesrc10.zip / OVERVIEW < prev    next >
Text File  |  1992-08-10  |  3KB  |  82 lines

  1. /*man-start*********************************************************************
  2.                       THE - The Hessling Editor
  3.  
  4. OVERVIEW
  5.  
  6. THE is a text editor that uses both command line commands and key bindings
  7. to operate.
  8.  
  9. The screen display consists of several windows:
  10.    - a main body window which displays the contents of the file being
  11.      editted,
  12.    - a command line from which commands may be issued,
  13.    - a prefix window which shows the line number (no prefix commands yet),
  14.    - an id window which displays the file name, row/col etc. for the
  15.      current file and
  16.    - a status line which indicates global status info like number of files
  17.      being editted, time etc.
  18.  
  19. An important distinction must be made between what is called the current
  20. line and the focus line. The focus line is that line in the main body in
  21. which the cursor is displayed. All commands bound to function keys use the
  22. focus line as the initial line from which to begin executing the command.
  23. Commands issued from the command line use the current line as the starting
  24. line for execution of commands. The current line is the line in the main
  25. body that is highlighted; by default line 6.
  26.  
  27. To move between the command line and the main body the 'tabcmd' command is
  28. used. By default it is bound to the Home key (on PCs), the Do key
  29. (on vt220s) and F12 (on xterms). To determine what keys are bound to what
  30. commands, type 'show' followed by Return on the command line, then follow
  31. the directions displayed.
  32. Key bindings may be changed for the current session by using the 'define'
  33. command.
  34.  
  35. Various session default may be changed on startup for an individual by
  36. using a profile file. This file contains various commands that set the
  37. current environment, including key bindings. This profile file can also be
  38. used to process commands in a batch mode. For example, to change all
  39. occurrences of 'alligator' to 'crocodile' in the file file.ext in batch
  40. mode a profile file (prf.prf) with the following commands would be used:
  41.  
  42.      c/alligator/crocodile/ * *
  43.      file
  44.  
  45. and the command
  46.  
  47.      the -p prf.prf file.ext
  48.  
  49. would be issued.
  50.  
  51. This changes the first string enclosed in delimiters (either /,\ or @) to
  52. the second string for every line (*) starting at the current line
  53. (0 initially) changing each occurrence on a line (*).
  54. Maybe you only want to change a string after the first line that contains
  55. the string 'donkey', but only change the second occurrence of that string.
  56. The profile commands would then be:
  57.  
  58.      /donkey/
  59.      c/alligator/crocodile/ * 1 2
  60.      file
  61.  
  62. The change command uses a 'target' specification as its first parameter
  63. after the string details. A target can be a number of lines, an absolute
  64. line number or a string.
  65. Number of line targets consist of either a positive integer, for
  66. referencing lines toward the end of the file, negative for referencing
  67. toward the start of the file or '*', which is all the remaining lines in
  68. the file or '-*' which is all lines toward the start of the file.
  69. An absolute line number in the form of ':n' is the line number in a file,
  70. starting with line number 1.
  71. A target is any string within the allowable target delimiters.
  72.  
  73. For more information on default key bindings see the *.hlp files. Detailed
  74. documentation of each command is present in each of the comm*.c files.
  75.  
  76.  
  77. --------------------------------------------------------------------------
  78.  
  79.  
  80. COMMAND REFERENCE
  81. **man-end**********************************************************************/
  82.